<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试者管理</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <script src="/layui/layui.js"></script>
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
</head>
<body>
<form class="layui-form" id="add" style="display: none;padding-right: 20px;padding-top: 20px;" lay-filter="formDemo">
    <input type="number" id="testerId" name="testerId" hidden>
    <div class="layui-form-item">
        <label class="layui-form-label">姓名</label>
        <div class="layui-input-block">
            <input type="text" name="testerName" id="testerName" lay-verify="title" autocomplete="off" placeholder="请输入姓名" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">手机号</label>
        <div class="layui-input-block">
            <input type="text" name="testerPhone" id="testerPhone" lay-verify="title" autocomplete="off" placeholder="请输入手机号" class="layui-input">
        </div>
    </div>
</form>

<table id="demo" lay-filter="test"></table>

<script type="text/html" id="navBar">
    <a class="layui-btn layui-btn-primary layui-border-green" lay-event="add">添加</a>
    <a class="layui-btn layui-btn-danger" lay-event="del">删除</a>
</script>

<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
</body>
<script src="/layui/tester.js"></script>
</html>
